#include "user.h"
#include "dr16_inf.h"
#include "UART.h"
#include "memory.h"
#include "task.h"
#include "servo_inf.h"

static RC_ctrl_t* rc_ctrl;
static taskTypedef user_task;

DR16_COMMAND_t DR16_COMMAND = IDLE;


void user_init() {
    rc_ctrl = get_RC_ctrl_point();
    dr16_controller_init();
    action_controller_init();

    //使用串口调试时注释 action_controller_init();
    //正常运行时都不要注释
}